from typing import AsyncIterator, Any

import scrapy


class GameSpider(scrapy.Spider):
    name = "game"

    # allowed_domains = ["quotes.toscrape.com"]
    def start(self):
        yield scrapy.Request("https://www.gamer520.com/page/2", callback=self.parse)

    def parse(self, response):
        print(response.text)
